From: Happy-melon Date: Mon, 27 Jun 2011 14:05:23 +0000 (+0000) Subject: Follow-up r86044 CR (correct subtitle message for action=credits), and some documenta... X-Git-Tag: 1.31.0-rc.0~29249 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=93cece6d9e68e1967d351dcf31112df2e1efa982;p=lhc%2Fweb%2Fwiklou.git Follow-up r86044 CR (correct subtitle message for action=credits), and some documentation. --- diff --git a/includes/actions/CreditsAction.php b/includes/actions/CreditsAction.php index 25434abbf3..42656619f7 100644 --- a/includes/actions/CreditsAction.php +++ b/includes/actions/CreditsAction.php @@ -33,8 +33,14 @@ class CreditsAction extends FormlessAction { return null; } + protected function getDescription() { + return wfMsg( strtolower( 'creditspage' ) ); + } + /** * This is largely cadged from PageHistory::history + * + * @return String HTML */ public function onView() { wfProfileIn( __METHOD__ ); @@ -75,6 +81,7 @@ class CreditsAction extends FormlessAction { /** * Get the last author with the last modification time * @param $article Article object + * @return String HTML */ protected static function getAuthor( Article $article ) { global $wgLang; @@ -94,7 +101,6 @@ class CreditsAction extends FormlessAction { /** * Get a list of contributors of $article - * @param $article Article object * @param $cnt Int: maximum list of contributors to show * @param $showIfMax Bool: whether to contributors if there more than $cnt * @return String: html